<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: yunwuxin <448901948@qq.com>
// +----------------------------------------------------------------------

//返回响应码配置
return [
    //公共返回码
    '200' => '操作成功',
    '201' => '操作失败',
    '202' => '缺少参数',
    '222' => '模型信息提示',
    '777' => '目录无读写权限',

    //业务返回码
        //11xx 用户
    '1101' => '用户名已经存在',
    '1102' => '邮箱已经存在',
    '1103' => '电话号码已经存在',
    '1104' => '用户名或者密码不能为空',
    '1105' => '验证码为空',
    '1106' => '验证码错误',
    '1107' => '用户不存在',
    '1108' => '用户已被禁用',
    '1109' => '登陆密码错误',
    '1110' => '原始登陆密码错误',
    '1111' => '两次输入的密码不一致',


        //12xx 分类
    '1201' => '栏目不存在',
    '1202' => '栏目别名禁止重复',
    '1203' => '请先清空该栏目下内容',
    '1204' => '该栏目拥有子栏目禁止删除',
    '1205' => '栏目名称或英文名称不能为空',
    '1206' => '',

        //13xx 文章 
    '1301' => '栏目不是列表模式禁止发布文章',
    '1302' => '模型不匹配',

        //14xx 图书 


        //15xx 系统 


        //16xx 插件 

        //17xx 评论 
    '1701' => '评论内容不能为空',
];